﻿namespace SmartCity.Shared
{
    /// <summary>
    /// 未授权输出结果
    /// </summary>
    public class UnauthorizedResponse : ActionResponse<UnauthorizedResponse>
    {
        /// <summary>
        /// 未授权
        /// </summary>
        public static UnauthorizedResponse Unauthorized(string msg = null)
        {
            return Failed(ResponseCode.未授权, msg ?? "未授权");
        }
    }
}